package org.example.service;

import org.example.entity.PageBean;
import org.example.model.Article;

import java.util.List;

public interface ArticleService {
    void create(Article article);

    Article[] list();

    PageBean<Article> list(Integer pageIndex, Integer pageSize, String title);
}
